package com.shuiyun.chat.handler;

import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

/**
 * @author shuiyun
 * @program oicq
 * @description 定长解码处理器
 * @create 2021-05-12 13:56
 **/
public class LengthFieldDecoder extends LengthFieldBasedFrameDecoder {

    public LengthFieldDecoder(){
        this(1024,10,4,0,0);
    }

    public LengthFieldDecoder(int maxFrameLength, int lengthFieldOffset, int lengthFieldLength, int lengthAdjustment, int initialBytesToStrip) {
        super(maxFrameLength, lengthFieldOffset, lengthFieldLength, lengthAdjustment, initialBytesToStrip);
    }
}
